--
-- Created by IntelliJ IDEA.
-- User: zhanpu
-- Date: 20-11-30
-- Time: 下午6:00
-- To change this template use File | Settings | File Templates.
-- 给锁续期
--

if redis.call('get', KEYS[1]) == ARGV[1] then
    return redis.call('expire', KEYS[1], ARGV[2])
else
    return 0
end



